﻿
namespace TOPTECH.Labs.OpenClosed.Correct
{
    using Strategies;
    using System;

    class Program
    {
        static void Main(string[] args)
        {
            var bob = new Person("Bob")
            {
                AgeGroup = new AgeGroup(40),
                Awareness = new Awareness(new Known()),
                Gender = new Gender(new Male()),
                Status = new Status(new Divorced()) 
            };

            // That's easy, isn't it?
            Console.WriteLine(bob.ToString());

            Console.ReadLine();
        }
    }
}
